package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * PMS缺陷信息对象 sys_fault_pms
 * 
 * @author ruoyi
 * @date 2022-08-02
 */
public class SysFaultPms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 缺陷id */
    @Excel(name = "缺陷编号")
    private Long faultId;

    /** 缺陷所在单位 */
    @Excel(name = "缺陷所在单位")
    private String faultGroup;

    /** 发现时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发现时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 缺陷状态 */
    @Excel(name = "缺陷状态")
    private String faultStatus;

    /** 电站/线路 */
    @Excel(name = "电站/线路")
    private String substationName;

    /** 缺陷设备 */
    @Excel(name = "缺陷设备")
    private String deviceDescription;

    /** 缺陷内容 */
    @Excel(name = "缺陷内容")
    private String faultDescription;

    /** 缺陷类型 */
    @Excel(name = "缺陷类型")
    private String faultTy;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceTy;

    /** 电压等级 */
    @Excel(name = "电压等级")
    private String voltageLevel;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String supplierName;

    /** 缺陷性质 */
    @Excel(name = "缺陷性质")
    private String faultDegree;

    /** 缺陷描述 */
    @Excel(name = "缺陷描述")
    private String faultDetails;

    /** 是否消缺 */
    @Excel(name = "是否消缺")
    private String isSolve;

    /** 消缺时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "消缺时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date overTime;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String faultRe;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String deviceModel;

    /** 投运时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投运时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginRunTime;

    /** 投运年 */
    @Excel(name = "投运年")
    private String beginYear;

    /** 护线员 */
    @Excel(name = "护线员")
    private String lineMember;

    /** 消缺班组 */
    @Excel(name = "消缺班组")
    private String solveGroup;

    /** 消缺人 */
    @Excel(name = "消缺人")
    private String solveMember;

    /** 缺陷来源 */
    @Excel(name = "缺陷来源")
    private String faultSource;

    public void setFaultId(Long faultId) 
    {
        this.faultId = faultId;
    }

    public Long getFaultId() 
    {
        return faultId;
    }
    public void setFaultGroup(String faultGroup) 
    {
        this.faultGroup = faultGroup;
    }

    public String getFaultGroup() 
    {
        return faultGroup;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setFaultStatus(String faultStatus) 
    {
        this.faultStatus = faultStatus;
    }

    public String getFaultStatus() 
    {
        return faultStatus;
    }
    public void setSubstationName(String substationName) 
    {
        this.substationName = substationName;
    }

    public String getSubstationName() 
    {
        return substationName;
    }
    public void setDeviceDescription(String deviceDescription) 
    {
        this.deviceDescription = deviceDescription;
    }

    public String getDeviceDescription() 
    {
        return deviceDescription;
    }
    public void setFaultDescription(String faultDescription) 
    {
        this.faultDescription = faultDescription;
    }

    public String getFaultDescription() 
    {
        return faultDescription;
    }
    public void setFaultTy(String faultTy) 
    {
        this.faultTy = faultTy;
    }

    public String getFaultTy() 
    {
        return faultTy;
    }
    public void setDeviceTy(String deviceTy) 
    {
        this.deviceTy = deviceTy;
    }

    public String getDeviceTy() 
    {
        return deviceTy;
    }
    public void setVoltageLevel(String voltageLevel) 
    {
        this.voltageLevel = voltageLevel;
    }

    public String getVoltageLevel() 
    {
        return voltageLevel;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setFaultDegree(String faultDegree) 
    {
        this.faultDegree = faultDegree;
    }

    public String getFaultDegree() 
    {
        return faultDegree;
    }
    public void setFaultDetails(String faultDetails) 
    {
        this.faultDetails = faultDetails;
    }

    public String getFaultDetails() 
    {
        return faultDetails;
    }
    public void setIsSolve(String isSolve) 
    {
        this.isSolve = isSolve;
    }

    public String getIsSolve() 
    {
        return isSolve;
    }
    public void setOverTime(Date overTime) 
    {
        this.overTime = overTime;
    }

    public Date getOverTime() 
    {
        return overTime;
    }
    public void setFaultRe(String faultRe) 
    {
        this.faultRe = faultRe;
    }

    public String getFaultRe() 
    {
        return faultRe;
    }
    public void setDeviceModel(String deviceModel) 
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel() 
    {
        return deviceModel;
    }
    public void setBeginRunTime(Date beginRunTime) 
    {
        this.beginRunTime = beginRunTime;
    }

    public Date getBeginRunTime() 
    {
        return beginRunTime;
    }
    public void setBeginYear(String beginYear) 
    {
        this.beginYear = beginYear;
    }

    public String getBeginYear() 
    {
        return beginYear;
    }
    public void setLineMember(String lineMember) 
    {
        this.lineMember = lineMember;
    }

    public String getLineMember() 
    {
        return lineMember;
    }
    public void setSolveGroup(String solveGroup) 
    {
        this.solveGroup = solveGroup;
    }

    public String getSolveGroup() 
    {
        return solveGroup;
    }
    public void setSolveMember(String solveMember) 
    {
        this.solveMember = solveMember;
    }

    public String getSolveMember() 
    {
        return solveMember;
    }
    public void setFaultSource(String faultSource) 
    {
        this.faultSource = faultSource;
    }

    public String getFaultSource() 
    {
        return faultSource;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("faultId", getFaultId())
            .append("faultGroup", getFaultGroup())
            .append("startTime", getStartTime())
            .append("faultStatus", getFaultStatus())
            .append("substationName", getSubstationName())
            .append("deviceDescription", getDeviceDescription())
            .append("faultDescription", getFaultDescription())
            .append("faultTy", getFaultTy())
            .append("deviceTy", getDeviceTy())
            .append("voltageLevel", getVoltageLevel())
            .append("supplierName", getSupplierName())
            .append("faultDegree", getFaultDegree())
            .append("faultDetails", getFaultDetails())
            .append("isSolve", getIsSolve())
            .append("overTime", getOverTime())
            .append("faultRe", getFaultRe())
            .append("deviceModel", getDeviceModel())
            .append("beginRunTime", getBeginRunTime())
            .append("beginYear", getBeginYear())
            .append("lineMember", getLineMember())
            .append("solveGroup", getSolveGroup())
            .append("solveMember", getSolveMember())
            .append("faultSource", getFaultSource())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
